//	VS#7: Shadows on buildings
//
// Generated by Microsoft (R) HLSL Shader Compiler 9.19.949.2111
//
// Parameters:
//
//   float4 LightPosition;
//   float4x4 LocalToWorld;
//   float MinZ;
//   float4x4 ViewProjectionMatrix;
//
//
// Registers:
//
//   Name                 Reg   Size
//   -------------------- ----- ----
//   ViewProjectionMatrix c0       4
//   LocalToWorld         c4       4
//   LightPosition        c8       1
//   MinZ                 c9       1
//

    vs_3_0
    def c10, 0.5, 0, 0, 0
    dcl_position v0
    dcl_texcoord v1
    dcl_position o0
    mul r0.xyz, c5, v0.y
    mad r0.xyz, c4, v0.x, r0
    mad r0.xyz, c6, v0.z, r0
    mad r0.xyz, c7, v0.w, r0
    add r0.w, r0.z, -c9.x
    rcp r1.x, c8.z
    mul r0.w, r0.w, r1.x
    mul r1.xyz, r0.w, -c8
    slt r0.w, c10.x, v1.x
    mad r0.xyz, r0.w, r1, r0
    mul r1, r0.y, c1
    mad r1, c0, r0.x, r1
    mad r0, c2, r0.z, r1
    add o0, r0, c3

// approximately 14 instruction slots used
 